finishDeletion

Add the given item's deletion to this changeset, so that it can be undone after it is recorded. If the given item is a SplitTxn then it is recorded as a removal from the parent and a modification of the parent transaction. Only the given item is deleted: for a currency or security with prices and stock splits, use CurrencyType.deleteItem(change) instead.

Return

this object, in order to facilitate call chaining

Parameters

itemToDelete

the item to delete